package com.jyniubi.gmall.cart.service;

import com.jyniubi.gmall.cart.entity.CartEntity;

import java.util.List;

public interface CartService {
    void saveCart(CartEntity cartEntity);

    CartEntity queryCartById(Long skuId);

    void execute1();

    void execute2();

    List<CartEntity> queryCart();

    void updateNum(CartEntity cartEntity);

    void deleteCart(Long skuId);

    List<CartEntity> queryCheckedCarts(Long userId);
}
